package muilty_thread.pic_java_design_pattern.SingleThreadedExecution;

/**
 * @version: 1.0
 * @Description: TODO
 * @author: zZmH
 * @date: 2020/09/09 19:05
 */


public class Main {

    public static void main(String[] args) {
        Gate gate = new Gate();
        new UserThread(gate,"Adfdsf","Adfcxx").start();
        new UserThread(gate,"Bdsfdsf","Bdsfx").start();
        new UserThread(gate,"CDSfdsf","Cewrwer").start();
    }
}
